print "<Include>\n";
while (<>) {
  if (/<Component Id=\"([^\"]*)\" .*/) {
    print " <ComponentRef Id=\"$1\" />\n";
  }
}
print "</Include>\n";
